package com.test.data;

import java.sql.Connection;
import java.sql.DriverManager;

public class DataSource 
{
	public static Connection getConnection()
	{
		try {
			Class.forName("net.sourceforge.jtds.jdbc.Driver");
			return  DriverManager.getConnection("jdbc:jtds:sqlserver://192.168.10.75:1433/MFK","sa","ags@123");

//			Class.forName("com.mysql.jdbc.Driver");
//			return  DriverManager.getConnection("jdbc:mysql://localhost/vts_ags?user=root&password=mysql");
//		
		
		}
		catch (Exception e) {		e.printStackTrace();}
		return null;
	}
}
